xen.git
19 years ago[IA64] reformatting hyperprivop.S for 80-column readability
awilliam@xenbuild.aw [Fri, 18 Aug 2006 19:31:48 +0000 (13:31 -0600)]
[IA64] reformatting hyperprivop.S for 80-column readability

Minor reformatting to hyperprivop.S to make it readable
on 80-column displays, as requested by Linux coding style.
Minor formatting changes and typo corrections to get the
style more in line with the other .S files.

Signed-off-by: Al Stone <ahs3@fc.hp.com>
19 years ago[IA64] handle ld.s on guest tr mapped page (VTI)
awilliam@xenbuild.aw [Wed, 16 Aug 2006 20:28:57 +0000 (14:28 -0600)]
[IA64] handle ld.s on guest tr mapped page (VTI)

Windows does an ld.s on a tr mapped page.
Currently xen/ipf uses tc/vtlb to emulate guest TR,
that may cause guest ld.s on tr page to be deferred, it is not correct.
For trapping this ld.s intruction, xen/ipf always set machine dcr.dm=0.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
[Moved cr.dcr restore to only impact vti -> non-vti switch]
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] efibootmgr support
awilliam@xenbuild.aw [Wed, 16 Aug 2006 16:40:17 +0000 (10:40 -0600)]
[IA64] efibootmgr support

This patch supports the efibootmgr on Domain-0.
This patch adds the following EFI runtime service emulations
for the efibootmgr support.
 - GetVariable
 - GetNextVariableName
 - SetVariable

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[IA64] resolve VTI address wrap issue
awilliam@xenbuild.aw [Wed, 16 Aug 2006 16:21:13 +0000 (10:21 -0600)]
[IA64] resolve VTI address wrap issue

This patch resolves the address wrap issue in vtlb_purge and vhpt_purge

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] enable credit schedule on VTI-domain
awilliam@xenbuild.aw [Wed, 16 Aug 2006 15:18:16 +0000 (09:18 -0600)]
[IA64] enable credit schedule on VTI-domain

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] fix non-CONFIG_XEN sparse tree build
awilliam@xenbuild.aw [Wed, 16 Aug 2006 15:15:17 +0000 (09:15 -0600)]
[IA64] fix non-CONFIG_XEN sparse tree build

   This patch fixes some over-zealous code removal with the P==M
cleanup.  Some of the P==M code was shared with the bare metal kernel.
Also cleaned up a couple places we should have used CONFIG_XEN.

From: Juan Quintela <quintela@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] xenasm.S 80-column reformatting
awilliam@xenbuild.aw [Wed, 16 Aug 2006 15:13:03 +0000 (09:13 -0600)]
[IA64] xenasm.S 80-column reformatting

Minor reformatting (and fix a couple of typos) in xenasm.S so that
it is readable in 80-column displays, in accordance with Linux coding
style.

Signed-off-by: Al Stone <ahs3@fc.hp.com>
19 years ago[IA64] copy_from/to_guest
awilliam@xenbuild.aw [Mon, 14 Aug 2006 20:21:21 +0000 (14:21 -0600)]
[IA64] copy_from/to_guest

This patch fixes the copy_from/to_guest problem.
As Akio reported, modularised netback causes dom0's down.

The following process is happened in gnttab_transfer()@
xen/common/grant_table.c:

  gnttab_transfer()
   => steal_page()
     => assign_domain_page_cmpxchg_rel()
       => domain_page_flush()
         => domain_flush_vtlb_all()  // all TLBs are flushed
   ...
   => __copy_to_guest_offset()               // always fail to copy

The embedded netback module has no problem because it uses TR pinned
data.  But modularised one is out of TR. So copy_from/to_guest issue
must be solved in order to modularise drivers.

Signed-off-by: Kouya SHIMURA <kouya@jp.fujitsu.com>
19 years ago[IA64] reformatting cleanup for xen.lds.S
awilliam@xenbuild.aw [Mon, 14 Aug 2006 19:46:05 +0000 (13:46 -0600)]
[IA64] reformatting cleanup for xen.lds.S

Minor reformatting changes to make xen.lds.S 80-column usable,
in accordance with Linux coding style.

Signed-off-by: Al Stone <ahs3@fc.hp.com>
19 years ago[IA64] 80-column reformatting for flushd.S
awilliam@xenbuild.aw [Mon, 14 Aug 2006 19:43:31 +0000 (13:43 -0600)]
[IA64] 80-column reformatting for flushd.S

Minor reformatting so that flushd.S can be used with 80-column
displays, in accordance with Linux coding style.  No instructions
were changed.

Signed-off-by: Al Stone <ahs3@fc.hp.com>
19 years ago[IA64] cleanup
awilliam@xenbuild.aw [Mon, 14 Aug 2006 19:42:00 +0000 (13:42 -0600)]
[IA64] cleanup

Cleanup of the week:
Perf counters added.
Use BUILD_BUG_ON instead of #error+macros.
CPL is checked before calling ia64_hypercall().
Reformatting in hypercall.c
multicall now check hypercall number.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] initial cleanup of ivt.S
awilliam@xenbuild.aw [Mon, 14 Aug 2006 19:30:17 +0000 (13:30 -0600)]
[IA64] initial cleanup of ivt.S

This patch reflects a patch I recently posted to the linux-ia64
mailing list to do essentially the same thing for ivt.S in upstream
source.

I've reformatted the contents of the Xen version of ivt.S so that
they are now readable on 80-column displays, in accordance with
Linux coding standards.  This is really just a first pass at
cleaning up this code.

In all of this patch, I only changed one line of assembly; there
was a 'mov r31=pr;' in entry 23 (daccess_rights) that I changed
to 'mov r31=pr;;' which is most likely what was meant.  No other
instructions were changed.  Hopefully, I didn't harm any other
white space formatting.

Signed-off-by: Al Stone <ahs3@fc.hp.com>
19 years ago[IA64] convert stats to perfc, get rid of unsafe hypercall
awilliam@xenbuild.aw [Mon, 14 Aug 2006 19:20:40 +0000 (13:20 -0600)]
[IA64] convert stats to perfc, get rid of unsafe hypercall

Convert remaining stat counter to perfc.
Get rid of unsafe hypercall.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] vti bugs fix
awilliam@xenbuild.aw [Mon, 14 Aug 2006 17:46:40 +0000 (11:46 -0600)]
[IA64] vti bugs fix

Bug fixes:
 - Do not read long-format vhpt as short-format.
 - Avoid infinite loop in vtlb_purge.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] update xmexample.vti
awilliam@xenbuild.aw [Mon, 14 Aug 2006 17:35:33 +0000 (11:35 -0600)]
[IA64] update xmexample.vti

Keep alignment with new QEMU and control panel configuration

Signed-off-by: Yongkang You <yongkang.you@intel.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Wed, 9 Aug 2006 16:32:23 +0000 (10:32 -0600)]
merge with xen-unstable.hg

19 years ago[IA64] catch up new hypercall HYPERVISR_hvm_op for IPF (libxc)
awilliam@xenbuild.aw [Wed, 9 Aug 2006 16:04:43 +0000 (10:04 -0600)]
[IA64] catch up new hypercall HYPERVISR_hvm_op for IPF (libxc)

append xc_set_hvm_param for IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] catch up new hypercall HYPERVISR_hvm_op for IPF
awilliam@xenbuild.aw [Wed, 9 Aug 2006 15:59:52 +0000 (09:59 -0600)]
[IA64] catch up new hypercall HYPERVISR_hvm_op for IPF

append HYPERVISOR_hvm_op for IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Wed, 9 Aug 2006 14:34:06 +0000 (08:34 -0600)]
merge with xen-unstable.hg

19 years ago[qemu patches] Update patches for changeset 10998:bd04004865ba.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 14:05:12 +0000 (15:05 +0100)]
[qemu patches] Update patches for changeset 10998:bd04004865ba.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Add vncunused option.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 14:03:38 +0000 (15:03 +0100)]
[qemu] Add vncunused option.
If the port used for the requested display number is in use, try
additional ports until a free port is found.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[IA64] fix a fetch code bug
awilliam@xenbuild.aw [Wed, 9 Aug 2006 14:01:52 +0000 (08:01 -0600)]
[IA64] fix a fetch code bug

Fetch code may fail, if there is no corresponding tlb entry
in THASH-VTLB. This patch adds "retry mechanism" to resolve
this issue.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years agomerge
Ian.Campbell@xensource.com [Wed, 9 Aug 2006 10:29:06 +0000 (11:29 +0100)]
merge

19 years agoMake ballon and backend drivers fail gracefully if they are unable to initialize
Ian.Campbell@xensource.com [Wed, 9 Aug 2006 10:27:28 +0000 (11:27 +0100)]
Make ballon and backend drivers fail gracefully if they are unable to initialize
due to missing hypervisor support.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years agoFix BUG_ON on switch_mm if XENFEAT_writable_page_tables is enabled.
Ian.Campbell@xensource.com [Wed, 9 Aug 2006 10:26:11 +0000 (11:26 +0100)]
Fix BUG_ON on switch_mm if XENFEAT_writable_page_tables is enabled.

Signed-of-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[qemu patches] Update patches for changeset 10993:dc7b56b8cfb5.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 10:25:55 +0000 (11:25 +0100)]
[qemu patches] Update patches for changeset 10993:dc7b56b8cfb5.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[hvm/qemu] Add HVM buffered IO writes framework to accelerate stdvga speed.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 10:25:33 +0000 (11:25 +0100)]
[hvm/qemu] Add HVM buffered IO writes framework to accelerate stdvga speed.
With this patch, win2k VMX guest boots fine on xen.

Signed-off-by: Zhu Han <zhu.han@intel.com>
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoBuild tools/firmware only on x86.
kaf24@firebug.cl.cam.ac.uk [Wed, 9 Aug 2006 09:53:16 +0000 (10:53 +0100)]
Build tools/firmware only on x86.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN][IA64] IA64 build fixes after recent PER_CPU changes.
kaf24@firebug.cl.cam.ac.uk [Wed, 9 Aug 2006 09:44:33 +0000 (10:44 +0100)]
[XEN][IA64] IA64 build fixes after recent PER_CPU changes.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agoFix the unit test to match the new way of allocating VNC ports.
emellor@leeni.uk.xensource.com [Wed, 9 Aug 2006 09:13:37 +0000 (10:13 +0100)]
Fix the unit test to match the new way of allocating VNC ports.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAdded a couple of unit tests for the sxp parsing.
emellor@leeni.uk.xensource.com [Wed, 9 Aug 2006 09:13:36 +0000 (10:13 +0100)]
Added a couple of unit tests for the sxp parsing.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix reference to buf in parsing of ocaml escapes.
emellor@leeni.uk.xensource.com [Wed, 9 Aug 2006 09:13:34 +0000 (10:13 +0100)]
Fix reference to buf in parsing of ocaml escapes.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoBetter diagnosis of the failure when Xend crashes. Thanks to Hollis Blanchard
emellor@leeni.uk.xensource.com [Wed, 9 Aug 2006 08:52:43 +0000 (09:52 +0100)]
Better diagnosis of the failure when Xend crashes.  Thanks to Hollis Blanchard
for diagnosis.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[IA64] Remove scheduler heartbeat
awilliam@xenbuild.aw [Tue, 8 Aug 2006 20:42:34 +0000 (14:42 -0600)]
[IA64] Remove scheduler heartbeat

Signed-off-by: Daniel Miles <daniel.t.miles@hp.com>
19 years ago[IA64] Virtualize dom0 lid
awilliam@xenbuild.aw [Tue, 8 Aug 2006 20:40:57 +0000 (14:40 -0600)]
[IA64] Virtualize dom0 lid

Because dom0 can't write eid/id into iosapics, lid can be virtualized.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] bug fix in ioports_deny_access
awilliam@xenbuild.aw [Tue, 8 Aug 2006 20:38:10 +0000 (14:38 -0600)]
[IA64] bug fix in ioports_deny_access

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] enable ioports_deny_access for dom0
awilliam@xenbuild.aw [Tue, 8 Aug 2006 20:36:21 +0000 (14:36 -0600)]
[IA64] enable ioports_deny_access for dom0

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] remove CONFIG_DOMAIN0_CONTIGUOUS and dom0_start
awilliam@xenbuild.aw [Tue, 8 Aug 2006 20:31:48 +0000 (14:31 -0600)]
[IA64] remove CONFIG_DOMAIN0_CONTIGUOUS and dom0_start

Remove unused build option CONFIG_DOMAIN0_CONTIGUOUS, thereby
making dom0_start obsolete.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[XEN] Assorted further PER_CPU- or read_mostly-ifications.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 14:43:54 +0000 (15:43 +0100)]
[XEN] Assorted further PER_CPU- or read_mostly-ifications.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Implement proper __read_mostly memory arrangemengt for x86.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 14:14:43 +0000 (15:14 +0100)]
[XEN] Implement proper __read_mostly memory arrangemengt for x86.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make tracing structures and buffers explicitly PER_CPU.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 13:56:22 +0000 (14:56 +0100)]
[XEN] Make tracing structures and buffers explicitly PER_CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make multicall info explicitly PER_CPU.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 13:48:43 +0000 (14:48 +0100)]
[XEN] Make multicall info explicitly PER_CPU.
Also remove cacheline alignment in a few places. We leave
the common timer and schedule_data structures aligned because
they may be accessed randomly by remoted CPUs: at least we can
contain cacheline bouncing to just the offending structures.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make per-cpu pending EOI interrupt info explicitly PER_CPU.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 13:29:16 +0000 (14:29 +0100)]
[XEN] Make per-cpu pending EOI interrupt info explicitly PER_CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make per-cpu mm information explicitly PER_CPU.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 13:18:57 +0000 (14:18 +0100)]
[XEN] Make per-cpu mm information explicitly PER_CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make per-cpu time information explicitly PER_CPU.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 13:02:14 +0000 (14:02 +0100)]
[XEN] Make per-cpu time information explicitly PER_CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make per-cpu schedule data explicitly PER_CPU.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 12:55:22 +0000 (13:55 +0100)]
[XEN] Make per-cpu schedule data explicitly PER_CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Place per-cpu timer info in PER_CPU space.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 11:04:46 +0000 (12:04 +0100)]
[XEN] Place per-cpu timer info in PER_CPU space.
Signed-of-fby: Keir Fraser <keir@xensource.com>

19 years ago[XEN] Make tlbflush_time a PER_CPU variable.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 10:45:37 +0000 (11:45 +0100)]
[XEN] Make tlbflush_time a PER_CPU variable.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[qemu patches] Refresh patches.
chris@kneesaa.uk.xensource.com [Tue, 8 Aug 2006 10:28:35 +0000 (11:28 +0100)]
[qemu patches] Refresh patches.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changeset 10974:415614d3a1ee.
chris@kneesaa.uk.xensource.com [Tue, 8 Aug 2006 10:27:12 +0000 (11:27 +0100)]
[qemu patches] Update patches for changeset 10974:415614d3a1ee.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[hvm/qemu] Flip the device model over to using the new Xen event channels
sos22@douglas.cl.cam.ac.uk [Tue, 8 Aug 2006 10:19:29 +0000 (11:19 +0100)]
[hvm/qemu] Flip the device model over to using the new Xen event channels
support.

Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years ago[hvm] Move the mapping of the shared IO page slightly earlier
sos22@douglas.cl.cam.ac.uk [Tue, 8 Aug 2006 10:17:52 +0000 (11:17 +0100)]
[hvm] Move the mapping of the shared IO page slightly earlier
in the initialisation sequence for HVM guests, so that we can
write vp_eport into the shared after creating the port.

Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years ago[XENSTAT] Ignore domains that are being created/destroyed during get_info call.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 09:36:32 +0000 (10:36 +0100)]
[XENSTAT] Ignore domains that are being created/destroyed during get_info call.

Currently, xenstat_get_node exits with a failure and returns NULL if a
VM is deleted between the time the list of VMs is obtained and the time
it attempts to collect information about the VMs. This patch modifies xenstat
to ignore domains that transition during the call.

Signed-off-by: Simon Graham <Simon.Graham@stratus.com>
19 years ago[HVM][VMX] Cleanup vmx vmexit handler.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 09:29:58 +0000 (10:29 +0100)]
[HVM][VMX] Cleanup vmx vmexit handler.

Current code doesn't handle vmexits caused by triple fault, INIT, SIPI,
etc, which are listed in IA32 Architecture System Programming Guide 2,
Appendix I VMX Basic Exit Reasons, and calls __hvm_bug() when not
handling such cases, actually domain crash should be good enough.

Also various coding style cleanups.

Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years ago[XEND] Daemonise vncviewer when it is spawned from xend.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 09:21:51 +0000 (10:21 +0100)]
[XEND] Daemonise vncviewer when it is spawned from xend.

There are various reasons it should be daemonized, but the particular
problem we hit was that YaST called "xm create" and waited on output on
stdout/stderr; xm then spawned vncviewer (which never closed its
inherited stdout and stderr); xm then would exit, but YaST still had
open file descriptors, and therefore waited forever.  It would be
possible to work around in YaST, but it seemed cleaner to daemonize
vncviewer.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
19 years ago[PCI] back: New virtual pci backend: slot
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 09:17:42 +0000 (10:17 +0100)]
[PCI] back: New virtual pci backend: slot

This backend use a slot per pci device.  Contrary to vpci two functions from
one slot appear as two slots. This is useful on ia64 because it doesn't scan
functions > 0 if function 0 does not exist.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[XEND] Fix fallback and error path for domain destruction by domid,
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 09:03:30 +0000 (10:03 +0100)]
[XEND] Fix fallback and error path for domain destruction by domid,
or of non-existent domain.

I saw the following error message. (A domain of domain name XXX does
not exist.)

# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     1019     2 r-----    29.8
# xm destroy XXX
Error: an integer is required

This patch fixes it to print the following error message.

# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     1019     2 r-----    35.8
# xm destroy XXX
Error: the domain 'XXX' does not exist.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[HVM][VMX] Move hvm interface init_hypercall_page initialization into vmx_setup_hvm_f...
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:59:47 +0000 (09:59 +0100)]
[HVM][VMX] Move hvm interface init_hypercall_page initialization into vmx_setup_hvm_funcs.
Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years ago[LIBXC] Do not gzclose() after close() on a gzdopen()'ed fd.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:57:24 +0000 (09:57 +0100)]
[LIBXC] Do not gzclose() after close() on a gzdopen()'ed fd.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
19 years ago[HVMLOADER] Only install hvmloader if it is built.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:51:08 +0000 (09:51 +0100)]
[HVMLOADER] Only install hvmloader if it is built.
This reverts a broken change in changeset 10948 that broke
the ia64 build.
Signed-off-by: Al Stone <ahs3@fc.hp.com>
19 years agoAdd RH-ish localhost to xend-relocation-hosts-allow in xend-config.sxp
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:33:38 +0000 (09:33 +0100)]
Add RH-ish localhost to xend-relocation-hosts-allow in xend-config.sxp
Signed-off-by: Jim Dykman <dykman@us.ibm.com>
19 years ago[PYGRUB] Flesh out some of pygrub's functionality as was originally
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:30:11 +0000 (09:30 +0100)]
[PYGRUB] Flesh out some of pygrub's functionality as was originally
intended. Changes include:
 * Addition of basic command line mode much like grub's so that you can
   boot things without having them specified in the config file
 * Edit/append mode for modifying kernel command lines, etc
 * Fix handling of case where the grub config didn't have a default
   specified

Signed-off-by: Jeremy Katz <katzj@redhat.com>
19 years ago[HVM] Fix hvm boot when acpi=1 is specified.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:25:46 +0000 (09:25 +0100)]
[HVM] Fix hvm boot when acpi=1 is specified.
Signed-off-by: Winston Wang <winston.l.wang@intel.com>
19 years ago[XEN] Remove redundant redeclaration of 'machine_restart'.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:19:32 +0000 (09:19 +0100)]
[XEN] Remove redundant redeclaration of 'machine_restart'.
Fixes compile warning with gcc 3.4.2.
Signed-off-by: Hollis Blanchard <hollis@us.ibm.com>
19 years ago[IA64] Add EXPORT_SYMBOL to modularize netfront/netback
awilliam@xenbuild.aw [Mon, 7 Aug 2006 20:11:58 +0000 (14:11 -0600)]
[IA64] Add EXPORT_SYMBOL to modularize netfront/netback

Add EXPORT_SYMBOLs to allow netfront and netback to
be used as modules.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
19 years ago[qemu patches] Update patches for changesets 10957:08a11694b109 - 10959:06e2a95d3395.
chris@kneesaa.uk.xensource.com [Mon, 7 Aug 2006 17:28:50 +0000 (18:28 +0100)]
[qemu patches] Update patches for changesets 10957:08a11694b109 - 10959:06e2a95d3395.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Update ioemu to qemu 0.8.2.
chris@kneesaa.uk.xensource.com [Mon, 7 Aug 2006 17:27:27 +0000 (18:27 +0100)]
[qemu] Update ioemu to qemu 0.8.2.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Update ioemu to qemu 0.8.2. (.CVS files)
chris@kneesaa.uk.xensource.com [Mon, 7 Aug 2006 17:26:20 +0000 (18:26 +0100)]
[qemu] Update ioemu to qemu 0.8.2. (.CVS files)

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Update ioemu to qemu 0.8.2.
chris@kneesaa.uk.xensource.com [Mon, 7 Aug 2006 17:25:30 +0000 (18:25 +0100)]
[qemu] Update ioemu to qemu 0.8.2.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoLimit blktap static link to just libaio.
jchesterfield@wicket.uk.xensource.com [Mon, 7 Aug 2006 17:11:59 +0000 (18:11 +0100)]
Limit blktap static link to just libaio.

19 years ago[LINUX] Fix a couple of benign diffs against vanilla spinlock.h.
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Aug 2006 15:07:20 +0000 (16:07 +0100)]
[LINUX] Fix a couple of benign diffs against vanilla spinlock.h.
From: Jan Beulich
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoProvides hooks for perfc print/reset/gather.
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Aug 2006 14:55:39 +0000 (15:55 +0100)]
Provides hooks for perfc print/reset/gather.

These arch-neutral hooks allow architectures to report hardware counters.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years agoChange DOM0_PERFCCONTROL: remove array limit.
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Aug 2006 14:53:06 +0000 (15:53 +0100)]
Change DOM0_PERFCCONTROL: remove array limit.

Descriptors and values are passed by two distinct buffers.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[XEN] Allow users to specify mce/nomce boot parameters.
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Aug 2006 14:42:25 +0000 (15:42 +0100)]
[XEN] Allow users to specify mce/nomce boot parameters.
Signed-off-by: Arun Sharma <arun@sharma-home.net>
19 years ago[XEN] Clean up shutdown handling and ignore opt_noreboot if dom0
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Aug 2006 14:35:06 +0000 (15:35 +0100)]
[XEN] Clean up shutdown handling and ignore opt_noreboot if dom0
shuts down cleanly. The option is intended only to retain information
on the local console in case of a crash.

Based on a patch from Muli Ben-Yehuda <muli@il.ibm.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[xend] Fix reboot for hvm domains with cdrom devices.
chris@kneesaa.uk.xensource.com [Mon, 7 Aug 2006 10:59:31 +0000 (11:59 +0100)]
[xend] Fix reboot for hvm domains with cdrom devices.
The device-type was not added to the device details which caused
cdrom devices to appear as harddisks after a reboot.

From: Alex Brett <Alex.Brett@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[XEN] Add Xen-attached event channels, which will be used
kfraser@localhost.localdomain [Fri, 4 Aug 2006 19:34:44 +0000 (20:34 +0100)]
[XEN] Add Xen-attached event channels, which will be used
by HVM for the ioreq_packet port.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVMLOADER] HVM loader initialises hypercall shim and uses
kfraser@localhost.localdomain [Fri, 4 Aug 2006 19:30:12 +0000 (20:30 +0100)]
[HVMLOADER] HVM loader initialises hypercall shim and uses
it to interrogate Xen version information. Also add support
for HVM hypercall execution on 64-bit host.

Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[IA64] Remove P==M support
awilliam@xenbuild.aw [Fri, 4 Aug 2006 15:32:00 +0000 (09:32 -0600)]
[IA64] Remove P==M support

   Remove the old P==M dom0 memory model support.  It's likely
broken by now anyway.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] SMP Windows is up on VTI domain
awilliam@xenbuild.aw [Fri, 4 Aug 2006 15:15:51 +0000 (09:15 -0600)]
[IA64] SMP Windows is up on VTI domain

This patch makes SMP Windows boot,
Rewrite global purge to support multiple page size.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[NET] front: Check for received packets in network_open0
ack@localhost.localdomain [Fri, 4 Aug 2006 15:07:58 +0000 (16:07 +0100)]
[NET] front: Check for received packets in network_open0

Because the backend brings up the interface long before the frontend
has booted up, it is possible that by the time we get here we already
have packets queued up for processing.

If we don't process them here, we may delay them more than what is
necessary.  Worse yet, it is possible to miss the notification
interrupt from the backend in such a way that we never get another
one until we bring the interface down and up.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
19 years ago[IA64] convert more privop_stat to perfc
awilliam@xenbuild.aw [Fri, 4 Aug 2006 15:02:43 +0000 (09:02 -0600)]
[IA64] convert more privop_stat to perfc

Convert most privop stats to perfc.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] unprotected perfc_defn.h
awilliam@xenbuild.aw [Fri, 4 Aug 2006 14:37:24 +0000 (08:37 -0600)]
[IA64] unprotected perfc_defn.h

Do not protected against multiple include.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[qemu patches] Update patches for changeset 10945:baa6d08e62a0.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 10:36:07 +0000 (11:36 +0100)]
[qemu patches] Update patches for changeset 10945:baa6d08e62a0.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Add missing semicolon.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 10:35:51 +0000 (11:35 +0100)]
[qemu] Add missing semicolon.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changeset 10943:1de1bb6a51c5.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 10:34:01 +0000 (11:34 +0100)]
[qemu patches] Update patches for changeset 10943:1de1bb6a51c5.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Update acpi timer to not use a qemu timer.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 10:33:41 +0000 (11:33 +0100)]
[qemu] Update acpi timer to not use a qemu timer.
Compute the acpi timer's value when it is accessed instead of using
a qemu timer to keep it uptodate.

From: Wang, Winston L <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[hvm firmware] Update hvm acpi dsdt table.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 10:03:17 +0000 (11:03 +0100)]
[hvm firmware] Update hvm acpi dsdt table.
1)Code style clean up
2)Mininor fix for pci bus 0, dev 4 apic IRQ number
3)Add support for HCT "unreported IO and Memory" test by reporting low
640 MB mem as motherboard resource

Signed-off-by: Winston Wang <winston.l.wang@intel.com>
19 years ago[qemu patches] Refresh patches.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 09:57:34 +0000 (10:57 +0100)]
[qemu patches] Refresh patches.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changeset 10939:5980fb28b050.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 09:57:13 +0000 (10:57 +0100)]
[qemu patches] Update patches for changeset 10939:5980fb28b050.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Free page_array when it's no longer used.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 09:56:53 +0000 (10:56 +0100)]
[qemu] Free page_array when it's no longer used.
Seems no special reason for keeping page_array, free it
to avoid memroy leak in Qemu.

Signed-off-by : Zhang xiantao<xiantao.zhang@intel.com>

19 years ago[qemu patches] Refresh patches.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 09:53:11 +0000 (10:53 +0100)]
[qemu patches] Refresh patches.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changeset 10936:a0b3cf802d99.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 09:52:49 +0000 (10:52 +0100)]
[qemu patches] Update patches for changeset 10936:a0b3cf802d99.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Fix qemu memory access beyond 3G @VTi side.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 09:52:25 +0000 (10:52 +0100)]
[qemu] Fix qemu memory access beyond 3G @VTi side.

Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
19 years ago[qemu patches] Refresh patches.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 09:43:02 +0000 (10:43 +0100)]
[qemu patches] Refresh patches.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changeset 10933:386990d004b8.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 09:42:02 +0000 (10:42 +0100)]
[qemu patches] Update patches for changeset 10933:386990d004b8.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Add switch to control whether acpi bridge is enabled.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 09:41:27 +0000 (10:41 +0100)]
[qemu] Add switch to control whether acpi bridge is enabled.

Signed-off-by: Winston Wang <winston.l.wang@intel.com>
19 years ago[qemu patches] Update patches for changeset 10931:3ea0a6847198.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 09:29:18 +0000 (10:29 +0100)]
[qemu patches] Update patches for changeset 10931:3ea0a6847198.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Make sure disk writes really made it to disk before we report I/O
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 09:28:51 +0000 (10:28 +0100)]
[qemu] Make sure disk writes really made it to disk before we report I/O
completion to the guest domain.  The DMA_MULTI_THREAD functionality
from the qemu-dm IDE emulation should make the performance overhead
of synchronous writes bearable, or at least comparable to native
hardware.

Signed-off-by: Rik van Riel <riel@redhat.com>
19 years ago[qemu patches] Update patches for changeset 10929:4dd640c6ce57.
chris@kneesaa.uk.xensource.com [Fri, 4 Aug 2006 09:20:33 +0000 (10:20 +0100)]
[qemu patches] Update patches for changeset 10929:4dd640c6ce57.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>